//刷新返回 路由栈丢失问题
function goback() {
    const canNavBack = getCurrentPages()
	if (canNavBack && canNavBack.length > 1) {
	  uni.navigateBack({
		delta: 1
	  })
	} else {
	  history.back()
	}
}
export {goback};